<?
	include("API.php");
	session_start();
?>
<html>
<head><meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p>
	<?php
		if (isset($_GET["no"]) && isset($_SESSION["sessionid"]))
		{
			$result = getNoteById($client,$_SESSION["sessionid"],(int)$_GET["no"],($NOTE_CONTENT));
			echo nl2br($result->content);
		}
		elseif (isset($_GET["no"]))
		{
			$result = getNoteById($client,"",(int)$_GET["no"],($NOTE_CONTENT));
			echo nl2br($result->content);
		}
		else
		{
			echo nl2br("Netbook isn't a common notebook,but with fully network service access.\nNow Let's view teh latest public note in the left");
		}
	?>
</p>
</body>
</html
